package com.def;

public class Ext1Impl2 extends Impl1 implements Interface2{

//    @Override
//    public void print() {
//        super.print();
//        Interface2.super.print();
//
//    }

    public static void main(String[] args) {
        Ext1Impl2 e = new Ext1Impl2();
        e.print();//继承优先
    }
}
